package com.st.common.service.impl;

import com.st.common.dao.UserMapper;
import com.st.common.model.User;
import com.st.common.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by jiangfj17321 on 2017/11/7.
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public User getUserById(String user_id) {
        return userMapper.getUserById(user_id);
    }
}
